#ifndef SPACE_TOUCH_CORE_H
#define SPACE_TOUCH_CORE_H

#ifndef NDEBUG
#include <stdio.h>
//#define INFO(x,...) spdlog::info(x,__VA_ARGS__)
#define INFO(...) printf(__VA_ARGS__)
#define POINTER(x) std::cout << x << std::endl
#define IFFAILED(x) if_failed(x,#x,__FILE__,__LINE__)
#else
#define INFO(x,...)
#define POINTER(x)
#define IFFAILED(x) x
#endif

#include <stdint.h>
bool DecodePart(const char *&pSrc, const char *pSrcEnd, char16_t *&pDest, char16_t *pDestEnd);

#endif //SPACE_TOUCH_CORE_H